package com.kws.commercial.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kws.commercial.dao.CommercialSignatureManage;
import com.kws.commercial.dao.Info.QueryCommercialSignatureInfo;
import com.kws.commercial.dao.Rq.CreateCommercialSignatureRq;
import com.kws.commercial.dao.Rq.UpdateCommercialSignatureRq;

import java.util.List;

public interface CommercialSignatureManageService extends IService<CommercialSignatureManage> {
    PageInfo<QueryCommercialSignatureInfo> queryCommercialSignaturePage(Integer pageNum, Integer pageSize, String signatureHolder);

    boolean createCommercialSignature(CreateCommercialSignatureRq rq);

    QueryCommercialSignatureInfo queryCommercialSignatureInfo(Long id);

    boolean updateCommercialSignatureById(UpdateCommercialSignatureRq rq);

    boolean deleteCommercialSignatureById(List<Long> ids);
}
